package com.iweb.report_statistic.service;

import com.iweb.report_statistic.dao.ReportDao;
import com.iweb.report_statistic.dao.ReportDaoImpl;
import com.iweb.report_statistic.model.Report;
import com.iweb.util.PageModel;

import java.util.List;

public class ReportServiceImpl implements ReportService{

    ReportDao reportDao = new ReportDaoImpl();

    @Override
    public List<Report> selectByPage(PageModel pageModel) {
        return reportDao.selectByPage(pageModel);
    }

    @Override
    public Report selectById(String productId) {
        return reportDao.selectById(productId);
    }


    public ReportServiceImpl() {
        super();
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }

    @Override
    public String toString() {
        return super.toString();
    }

    @Override
    protected void finalize() throws Throwable {
        super.finalize();
    }

}
